﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace HotelMgr.Models
{
    public class RoomState
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int RoomStateID { get; set; }
        /// <summary> 
        /// 房间状态
        /// </summary>
        [DisplayName("房间状态")]
        [StringLength(40)]
        public string Name { get; set; }

        public virtual ICollection<Room> Rooms { get; set; }
    }
}